package com.bwie.system.controller;

import com.bwie.common.result.Result;
import com.bwie.system.service.DataService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName:
 * @Description:
 * @Author: zengfanzhen
 * @Date: 2024/4/14 15:21:34
 */
@RestController
@RequestMapping("/data")
@Slf4j
public class DataController {

    @Autowired
    private DataService dataService;


    @GetMapping("/sel")
    public Result sel(){
        dataService.produceData();
        return Result.success("操作成功");
    }



}
